import request from "@/plugins/axios";
// 销售订单【合同】-统计首页
export function contractApi() {
  return request({
    url: "/shop/report/contract",
  });
}
//销售订单【合同】-日统计
export function contractDayApi(data) {
  return request({
    url: "/shop/report/contractDay",
    method: "post",
    data,
  });
}
//销售订单【合同】-日统计---修改后的接口
export function dayStatApi(data) {
  return request({
    url: "/shop/report/dayStat",
    method: "get",
    params: data,
  });
}
//销售订单【合同】-月度统计
export function contractMonthApi(data) {
  return request({
    url: "/shop/report/contractMonth",
    method: "post",
    data,
  });
}
//销售订单【合同】-年度统计
export function contractYearApi(data) {
  return request({
    url: "/shop/report/contractYear",
    method: "post",
    data,
  });
}
